Image capture apparatus

ABSTRACT

An image capture apparatus captures an image, and performs an authentication process with an external device. The image capture apparatus encrypts a captured image to generate an encrypted image if the authentication unit succeeds in performing the authentication process, and stores the encrypted image in a recording medium. The image capture apparatus displays whether the authentication unit succeeded in performing the authentication process, and whether the external device includes key information used in encrypting the captured image.

CROSS REFERENCE OF RELATED APPLICATIONS

This application is a Continuation of U.S. patent application Ser. No.12/033,355 filed on Feb. 19, 2008 which claims the benefit of JapaneseApplication No. 2007-040002 filed Feb. 20, 2007, which is herebyincorporated by reference herein in its entirety.

FIELD OF THE INVENTION

The present invention relates to image capture apparatus, such as adigital camera, that encrypts captured image data and stores theencrypted data in a recording medium.

BACKGROUND OF THE INVENTION

Conventionally, a digital camera that encrypts and stores captured imagedata has been realized. In a case of data encryption, an encryption keyis required to encrypt plain text data. Further, a decryption key isrequired to decode the encrypted data. An encryption key and adecryption key can be identical depending on an encryption method.Therefore, it is necessary to securely manage either or both of anencryption key and a decryption key, so that the keys are not leaked outto a third party.

An effective method for securely managing the above-described keys is touse an IC (integrated circuit) card which is difficult to be decoded bysoftware or hardware. Japanese Patent Application Laid-Open No.2001-320668 discusses a digital camera that confidentially stores keydata in a storage device such as an IC card and encrypts digital datausing the key.

When a key data is readout from a storage device that stores the keydata, it is necessary to perform an authentication procedure between thestorage device and a digital camera. Authentication prevents a falsedigital camera that spoofs the digital camera from obtaining key datastored in the storage device. That is, it is required that only thedigital camera that knows the correct authentication process can obtainkey data, and a third party that does not know the correctauthentication procedure cannot obtain key data.

Since a digital camera needs to communicate with a storage device inperforming an authentication procedure, some processing time isrequired.

In a conventional digital camera, after a power switch is turned on, anauthentication procedure is started, and an image can be captured onlyafter the authentication procedure ends. Therefore, if a user uses adigital camera that encrypts a captured image, the user needs to waitwhile an authentication procedure is performed after turning on a powerswitch before capturing an image. As a result, a user may lose a photoopportunity.

Moreover, a user of a conventional digital camera which encrypts acaptured image cannot confirm process steps and result of theauthentication procedure. Consequently, an error can occur in which adigital camera stores captured data without performing encryption asdesired by a user, due to a failure in loading a device or the like.Further, an error can occur in which a digital camera encrypts acaptured image that a user did not wish to encrypt.

SUMMARY OF THE INVENTION

The present invention is directed to an image capture apparatus (e.g., adigital camera) that overcomes the above-described drawbacks ordisadvantages. The present invention is directed to an image captureapparatus (e.g., a digital camera) that notifies a user of informationabout an authentication process and/or an encryption process. Thepresent invention is directed to an image capture apparatus (e.g., adigital camera) that improves a security level of a captured image. Thepresent invention is directed to an image capture apparatus (e.g., adigital camera) that allows changing of timing of an authenticationprocess. Furthermore, the present invention is directed to an imagecapture apparatus (e.g., a digital camera) that decreases operationalerror made by a user.

According to an aspect of the present invention, an image captureapparatus includes an image capture unit that captures an image, anauthentication unit that performs an authentication process with anexternal device, an encryption unit that encrypts a captured image togenerate an encrypted image if the authentication unit succeeds inperforming the authentication process, a storage unit that stores theencrypted image in a recording medium, and a display unit that displayswhether the authentication unit succeeded in performing theauthentication process, and whether the external device includes keyinformation used in encrypting the captured image.

Further features and aspects of the present invention will becomeapparent from the following detailed description of exemplaryembodiments with reference to the attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of the specification, illustrate exemplary embodiments, features,and aspects of the invention and, together with the description, serveto explain the principles of the invention.

FIG. 1 illustrates a block diagram of a digital camera which is anexample of an image capture apparatus according to first, second, andthird exemplary embodiments of the present invention.

FIG. 2 illustrates a front view of a digital camera according to a firstexemplary embodiment of the present invention.

FIG. 3 illustrates a back view of a digital camera according to a firstexemplary embodiment of the present invention.

FIG. 4 illustrates an example of information stored in an IC card.

FIG. 5 illustrates an example of a display for notifying a user that anauthentication is in progress.

FIG. 6 illustrates an example of a display for notifying a user of anauthentication result, i.e., that a card is invalid.

FIG. 7 illustrates an example of a display for notifying a user of anauthentication result, i.e., that a card is an initialized card.

FIG. 8 illustrates an example of a display for notifying a user of anauthentication result, i.e., that camera is not registered.

FIG. 9 illustrates an example of a display for notifying a user of anauthentication result, i.e., that encryption is enabled.

FIG. 10 illustrates an example of a display for notifying a user of anauthentication result, i.e., that there is device failure.

FIG. 11 is a flowchart illustrating an activation process according to afirst exemplary embodiment of the present invention.

FIG. 12 is a flowchart illustrating an authentication process accordingto a first exemplary embodiment of the present invention.

FIG. 13 is a flowchart illustrating an operation of image capturing andstoring according to a first exemplary embodiment of the presentinvention.

FIGS. 14A and 14B illustrate examples of screens for setting a prioritymode according to a second exemplary embodiment of the presentinvention.

FIGS. 15A, 15B, and 15C illustrate examples of a screen for setting anencryption mode.

FIG. 16 is a flowchart illustrating an activation process according to asecond exemplary embodiment of the present invention.

FIG. 17 is a flowchart illustrating an operation of image capturing andstoring according to a second exemplary embodiment of the presentinvention.

FIG. 18 is a flowchart illustrating a process performed when loading adevice into a digital camera according to a third exemplary embodimentof the present invention.

FIG. 19 is a flowchart illustrating a process performed when unloading adevice from a digital camera according to a third exemplary embodimentof the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Various exemplary embodiments, features, and aspects of the inventionwill be described in detail below with reference to the attacheddrawings.

First Exemplary Embodiment

FIG. 1 illustrates a block diagram of a digital camera that is anexample of an image capture apparatus according to a first exemplaryembodiment of the present invention. Further,

FIG. 2 illustrates a front view and FIG. 3 illustrates a back view of adigital camera according to the present exemplary embodiment.

A subject optical image transmitted through a lens 10 and a shutter 12is focused on an image sensor 14 such as a CCD (charge-coupled device)image sensor. The image sensor 14 converts the optical image formed onthe image capturing plane to an electrical image. An A/D(analog/digital) converter 16 converts an analog image signal outputfrom the image sensor 14 to a digital signal. An image processing unit18 performs a known camera signal processing such as gamma correction onthe image data received from the A/D converter 16. The image processingunit 18 can also directly output the image data that is output from theA/D converter 16 without performing such a process.

An image capture/display control unit 20 temporarily stores image datareceived from the image processing unit 18 in an image display memory22, and outputs the image data to a D/A (digital/analog) converter 24for displaying the image data. Further, the image capture/displaycontrol unit 20 transfers image data to a memory 26 to record the imagedata. The D/A converter 24 converts the image data received from theimage capture/display control unit 20 into an analog signal and suppliesthe analog signal to an image display unit 28. The image display unit 28includes, for example, a LCD (liquid crystal display) panel, and isdisposed on a rear of the digital camera. The image capture/displaycontrol unit 20 controls the image sensor 14, the A/D converter 16, theimage processing unit 18, the D/A converter 24, and the image displaymemory 22.

The image display unit 28 can be used as an electronic finder, or adisplay unit for displaying a reproduced image. The digital camera alsoincludes an optical viewfinder 30 for confirming a composition of asubject image.

A system control unit 32 includes a microcomputer that controls eachunit of the digital camera illustrated in FIG. 1. The memory 26 is usedas a work area for compressing and decompressing image data and forencrypting and decrypting image data. Further, the memory 26 is used ascache area of various data.

A compression/decompression unit 34 is controlled by the system controlunit 32 to compress an image data stored in the memory 26. The memory 26further stores compressed image data that is readout from a recordingmedium 36 for reproducing the image data, and thecompression/decompression unit 34 decompresses the compressed image dataunder control of the system control unit 32. Thecompression/decompression function of the compression/decompression unit34 is realized by hardware, software of a DSP (digital signalprocessing) apparatus, or a combination of such hardware and software.

An encryption/decryption unit 38 encrypts plain text data such as animage data (generally, an image data compressed by thecompression/decompression unit 34) stored in the memory 26 under controlof the system control unit 32. The encryption/decryption unit 38 furtherdecrypts the encrypted data, i.e., decodes the data. Theencryption/decryption function of the encryption/decryption unit 38 isrealized by hardware, software of a DSP (digital signal processing)apparatus, or a combination of such hardware and software.

The recording medium 36 includes a nonvolatile recording medium, e .g.,memory card, hard disk device, or an optical disk, that stores imagedata (or an encrypted image data when the image data is encrypted). Inthe present exemplary embodiment, the recording medium 36 is detachable.However, the recording medium 36 can be a built-in recording medium.

An IC (integrated circuit) card 40 stores encryption key data used bythe encryption/decryption unit 38 in encrypting and decoding data. Thesystem control unit 32 reads out the encryption key data from the ICcard 40 only in a case where an authentication procedure is normallycompleted. In the present exemplary embodiment, the IC card 40 isdetachable from the digital camera. However, the IC card 40 can be fixedinside the digital camera. A memory card with an IC card function thatincludes the functions of the recording medium 36 and the IC card 40 canbe used in place of the recording medium 36 and the IC card 40.

An exposure control unit 42 controls the shutter 12. A lens/focuscontrol unit 44 controls focal length, aperture, and optical zoom of thelens 10. A flash control unit 46 controls the luminescence of a flashunit 48 and a luminescence termination function by TTL (through thelens) light modulation.

A nonvolatile memory 50 which electrically deletes and records data, canstore data after switching off the power of the digital camera in thepresent exemplary embodiment. The nonvolatile memory 50 stores bodyidentification information of a digital camera, an image capturing modeset by a user, image capture information, and various parameters. On theother hand, a data stored in a memory 52 is erased when the power of thedigital camera is switched off. The memory 52 stores temporal variablesthat are required in operations of the system control unit 32, and atable for calculation.

Various operation switches 56 are connected to the system control unit32 via a switch input unit 54. The operation switches 56 include a firstrelease switch that is switched on by half-pressing a shutter button 56a, and a second release switch that is switched on by fully-pressing theshutter button 56 a. Both release switches are used in capturing animage. The operation switches 56 further includes a power switch 56 b,and operation switches 56 c, 56 d, and 56 e that are image reproducingswitch, image forward-feed button, and image back-feed button. When thefirst release switch is switched on, the system control unit 32 performsphotometric control and focus control. When the second release switch isswitched on, the system control unit 32 performs a shutter operation anda recording operation that follows the shutter operation. The operationswitches 56 c, 56 d, 56 e are used, for example, in instructing anoperational mode, or a forward-feed or a back-feed operation on areproduced image in an image reproducing mode. The operation switches 56a, 56 b, 56 c, 56 d, 56 e in the present exemplary embodiment can be ofany form, such as a lever, a button, or a dial.

A power source control unit 58 detects the type and status of a powersource 60, and controls supplying of power to each unit. The powersource 60 includes battery, AC adapter, and a DC-DC converter thatgenerates various DC voltages from a DC output from the battery or an ACadapter.

The system control unit 32 can send information stored in thenonvolatile memory 50, the memory 52, and the recording medium 36 to anexternal device 64 via a communication unit 62. Further, the systemcontrol unit 32 can receive various information from the external device64. In particular, the communication unit 62 is used in sending andreceiving captured data and image data between the system control unit32 and the external device 64.

The external device 64 includes personal computer, digital camera,printer, and portable information device that can be connected to thecommunication unit 62.

An indicator 66 notifies a user who is capturing an image, of variousshooting information by displaying information in text or icons. Suchinformation includes shooting information about shutter speed, aperture,and ISO sensitivity, number of images that can be captured, and variousmodes. A display unit similar to the indicator 66 can be disposed on theright or left side, or on the upper or lower part inside the opticalview finder 30, or on a top surface of the digital camera (notillustrated in FIGS. 1, 2, and 3). As a result, information that a userwishes to confirm without looking aside from the viewfinder is displayedon an indicator within the optical viewfinder. Additionally,information, such as various settings of the digital camera can bedisplayed on the indicator 66 on the back or the top surface of thedigital camera.

An IC card slot 70 and a memory card slot 72 are disposed on a lateralsurface of the digital camera in the present exemplary embodiment. TheIC card 40 is inserted into the IC card slot 70. A standard card-sizememory card that includes a built-in semiconductor memory or a hard diskis inserted into the memory card slot 72, and used as the recordingmedium 36. If a memory card that includes an IC card function isinserted into the memory card slot 72, the IC card function of thememory card can be used as the IC card 40.

The external device 64 can be connected to a communication port 74, sothat the communication unit 62 that is connected to the external device64 can communicate with each other. The communication port 74 can be amechanical connector, or an infrared light or radio wave connectingmeans.

FIG. 4 illustrates an example of information stored in the IC card 40. Akey area 80 stores data indicating an encryption key and/or a decryptionkey. An identification information area 82 stores one or a plurality ofbody identification number (body ID) that are identification informationindicating one or more digital cameras that are permittedauthentication. A body ID is denoted, for example, by a combination of amodel and a serial number of a digital camera. In the present exemplaryembodiment, only a digital camera that is specified by a body ID storedin the identification information area 82 can use a key data and aprogram stored in the IC card 40.

A user information area 84 stores a user ID and a password of a user whois permitted authentication. Only a user who inputs a user ID and apassword that match a user ID and a password stored in the userinformation area 84 can use the key data and the program stored in theIC card 40.

A program area 86 stores program software, such as various applets usedin communication and exchanging of keys between the IC card 40 anddevices connected to the IC card 40. For example, a cameraauthentication applet includes a function for performing authenticationbetween a digital camera and the IC card 40. A key exchange appletincludes a function of passing a key stored in the IC card 40 to thedigital camera. A user authentication applet includes a function forperforming authentication between a user and the IC card 40. Anauthentication-permitted camera management applet includes a function tomanage body ID of authentication-permitted cameras, i.e., a function toadd or delete a body ID, and a function to determine whether a body IDis registered. An authentication-permitted user management appletincludes a function to manage ID and password ofauthentication-permitted users, i.e., a function to add and delete userID and password, and a function to determine whether information about auser ID and a password are registered. A key management applet includesa function to manage a key stored in the IC card 40, i.e., a function togenerate or delete a key, and a function to determine whether the key iseffective. Other applets include functions other than theabove-described functions.

The system control unit 32 executes the camera authentication applet,key exchange applet, key management applet, and authentication-permittedcamera management applet when the IC card 40 is loaded in a digitalcamera of the present exemplary embodiment. A device such as a PC(personal computer) executes the user authentication applet,authentication-permitted camera management applet,authentication-permitted user management applet and key managementapplet when the IC card 40 is connected to the PC. The IC card 40 storesthe above-described information about a body ID and a key of anauthentication-permitted camera by previously receiving an instructionfrom the PC.

FIGS. 5 to 10 illustrate examples of display indicating thatauthentication is in progress, and authentication results on the imagedisplay unit 28 and the indicator 66 of the digital camera.

FIG. 5 illustrates a display for notifying a user that an authenticationis in progress. The image display unit 28 displays a text indicatingthat authentication is in progress. The indicator 66 displays a symbolor an icon (in the example of FIG. 6, “?” on the left end of anindicator 66) indicating that authentication is in progress.

FIG. 6 illustrates a display for notifying a user of an authenticationresult that an IC card or a device loaded in the digital camera isinvalid. The image display unit 28 displays a text indicating that thecard or device is invalid. The indicator 66 displays a symbol or an icon(in the example of FIG. 6, “Δ” on the left end of an indicator 66)indicating that the card or device is invalid.

FIG. 7 illustrates a display for notifying a user of an authenticationresult that the card is initialized. The image display unit 28 displaysa text indicating that the card is initialized. The indicator 66displays a symbol or an icon (in the example of FIG. 7, “∇” on the leftend of an indicator 66) indicating that the card is initialized.

FIG. 8 illustrates a display for notifying a user of an authenticationresult that the camera is not registered. The image display unit 28displays a text indicating that the camera is not registered. Theindicator 66 displays a symbol or an icon (in the example of FIG. 8, “▾”on the left end of an indicator 66) indicating that the camera is notregistered.

FIG. 9 illustrates a display for notifying a user of an authenticationresult that the camera can perform encryption. The image display unit 28displays a text indicating that the camera can perform encryption. Theindicator 66 displays a symbol or an icon (in the example of FIG. 9, “◯”on the left end of an indicator 66) indicating that the camera canperform encryption.

FIG. 10 illustrates a display for notifying a user of an authenticationresult that there is a device failure. The image display unit 28displays a text indicating that there is device failure. The indicator66 displays a symbol or an icon (in the example of FIG. 10, “▴” on theleft end of an indicator 66) indicating that there is a device failure.

FIG. 11 is a flowchart illustrating an activation process of a digitalcamera that is an activation procedure of the present exemplaryembodiment. An activation process is performed when a digital camera isswitched on, and includes various initialization processes that arerequired to be performed when the digital camera transits to a state inwhich the digital camera can capture an image. Followings are steps forthe processes.

In step S1, the system control unit 32 executes a general activationprocess for a digital camera. For example, the system control unit 32supplies power to the various units illustrated in FIG. 1. The systemcontrol unit 32 activates software stored in a nonvolatile memory 50,and the software initializes various variables. Such processes aregenerally performed by an electronic device, e.g., the activationprocesses performed by a general digital camera.

In step S2, the system control unit 32 sets a value indicating“completed” in an image capture set-up variable that represents thestatus of the image capture set-up. The capture set-up variable isinitialized to be an invalid value in step S1.

In step S3, the system control unit 32 sets a value indicating“unauthenticated” to an authentication result variable that representsan authentication result.

Instep S4, the system control unit 32 detects a value of a variable thatindicates whether there is a image capture instruction (i.e., a imagecapture instruction variable). The capture instruction variable isinitialized by a value indicating “capture not instructed” in step S1.If the value of the capture instruction variable indicates “captureinstructed” (YES in step S4), the system control unit 32 ends theactivation process. On the other hand, if the value of the captureinstruction variable indicates “capture not instructed” (NO in step S4),the system control unit 32 performs an authentication process in stepS5.

After the process of step S2 ends, the digital camera of the presentexemplary embodiment is able to capture an image. In such a state, animage capturing process (illustrated in the flowchart of FIG. 13) is inan executable state as a different task or a process. Therefore, thevalue of the image capture instruction variable can indicate “captureinstructed” before performing the process of step S4.

In step S5, the system control unit 32 performs an authenticationprocess. That is, the digital camera of the present exemplary embodimentcommunicates with the IC card 40 and performs mutual authentication todetermine whether the digital camera and the IC card 40 can both beused.

FIG. 12 is a flowchart illustrating in detail the authentication processperformed in step S5 of the flowchart illustrated in FIG. 11. Theauthentication process is a process which allows a digital camera toobtain a key data stored in the IC card 40. The process is performed bythe system control unit 32.

In step S11, the system control unit 32 displays a status of theauthentication on the image display unit 28 and the indicator 66. In theexample of the flowchart illustrated in FIG. 12, the status of theauthentication is “authentication in progress”, and the image displayunit 28 and the indicator 66 display information as illustrated in FIG.5.

In step S12, the system control unit 32 determines whether a deviceloaded in the digital camera includes an IC card function. That is, thesystem control unit 32 determines whether the recording medium 36, theIC card 40, or a device loaded in the IC card slot 70 or the memory cardslot 72 includes an IC card function. The system control unit 32 sendsto the loaded device a predetermined IC card command. If there is aresponse, the system control unit 32 determines that the device includesan IC card function. If there is no response within a predeterminedamount of time, the system control unit 32 determines that the devicedoes not include an IC card function. Since the digital camera in thepresent exemplary embodiment includes a plurality of slots, the slotsare searched in order.

If the system control unit 32 determines that there is an IC cardfunction in the device (YES in step S12), the process proceeds to stepS13. On the other hand, if the system control unit 32 determines thatthere is no IC card function in the device (NO in step S12), the processproceeds to step S17. If a communication error is detected in step S12,the process proceeds to step S25.

In step S13, the system control unit 32 determines whether the IC card40 or the device including an IC card function that is loaded in thedigital camera includes a predetermined authentication applet. In thepresent exemplary embodiment, the system control unit 32 determineswhether a camera authentication applet is included in the program area86 illustrated in FIG. 4. The authentication applet can be confirmed bythe digital camera and the IC card 40 which exchange communication dataof a predetermined content. For example, the digital camera and the ICcard 40 can communicate data that is kept confidential in the digitalcamera and the IC card 40 and managed such that an outside user or anexternal device is unaware of the data. The authentication applet canalso be confirmed by the digital camera and the IC card 40 performingencrypted communication using an encryption key that is unknown to anoutside user. Such encrypted communication is a process that is widelyused by electronic devices in which an IC card can be loaded, andfurther description is omitted.

If the system control unit 32 determines that there is an authenticationapplet (YES in step S13), the process proceeds to step S14. On the otherhand, if there is no authentication applet (NO in step S13), the processproceeds to step S17. If a communication error is detected in step S13,the process proceeds to step S25.

In step S14, the system control unit 32 determines whether apredetermined key is stored in the IC card 40 or a device including anIC card function that is loaded in the digital camera. That is, thesystem control unit 32 determines whether a key stored in the key area80 illustrated in FIG. 4 is valid. A validity of a key can be determinedusing a key management applet in the IC card 40 or the loaded device,from the digital camera.

Namely, the digital camera inquires the key management applet whetherthere is a valid key. The key management applet determines the contentof the key area 80 of the IC card 40 or device including an IC cardfunction that is loaded in the digital camera. If the key is valid, thekey management applet returns a response indicating “key stored” to thedigital camera. If the key is invalid, the response is “no key”. Uponreceiving the response of “key stored”, the digital camera determinesthat the key exists (YES in step S14), and the process proceeds to stepS15. On the other hand, if the digital camera receives a response of “nokey” (NO in step S14), the process proceeds to step S19. If acommunication error is detected, the process proceeds to step S25.

In step S15, the system control unit 32 determines whether an ID foridentifying a body of a digital camera, i.e ., a body ID, is stored inthe IC card 40 or a device including an IC card function that is loadedin the digital camera. That is, the system control unit 32 determineswhether there is a body ID that is of a same value as a body ID of thedigital camera, in the identification information area 82 of the IC card40. The system control unit 32 make the determination using anauthentication-permitted camera management applet in the IC card 40 orthe loaded device.

The digital camera sends the body ID of the digital camera to theauthentication-permitted camera management applet, which searchesinformation stored in the identification information area 82 in theloaded IC card 40. If there is a body ID in the identificationinformation area 82 that is the same as the body ID received from thedigital camera, the authentication-permitted camera management appletreturns a response of “ID exists” to the digital camera. If there is nobody ID in the identification information area 82 that is the same asthe body ID received from the digital camera, theauthentication-permitted camera management applet returns a response of“no ID” to the digital camera. If the digital camera receives “IDexists” as a response, the digital camera determines that the key exists(YES in step S15), and the process proceeds to step S16. On the otherhand, if the digital camera receives “no ID” as a response (NO in stepS15), the process proceeds to step S21. If a communication error isdetected, the process proceeds to step S25.

In step S16, the system control unit 32 obtains a key data from the ICcard 40 or a device including an IC card function that is loaded in thedigital camera. In order to obtain the key data, the digital camera usesa key exchange applet in the IC card 40 to send a key obtaining requestto the IC card 40. The key exchange applet reads out the key data storedin the key area 80 of the IC card 40 onto the digital camera.

In step S17, the system control unit 32 sets a value indicating that thecard is “invalid” to an authentication result variable. In step S18, thesystem control unit 32 displays the authentication status on the imagedisplay unit 28 and/or the indicator 66. Since the authentication statusis “invalid”, a text as illustrated in FIG. 6 is displayed. Theauthentication process is then ended.

In step S19, the system control unit 32 sets a value indicating thatthere is “no key” to the authentication result variable. In step S20,the system control unit 32 displays the authentication status on theimage display unit 28 and/or the indicator 66. Since the authenticationstatus is “no key”, a text as illustrated in FIG. 7 is displayed. Theauthentication process is then ended.

In step S21, the system control unit 32 sets a value indicating that thedigital camera is “not registered”, to the authentication resultvariable. In step S22, the system control unit 32 displays theauthentication status on the image display unit 28 and/or the indicator66. Since the authentication status is “not registered”, a text asillustrated in FIG. 8 is displayed. The authentication process is thenended.

In step S23, the system control unit 32 sets a value indicating“encryption enabled” to the authentication result variable. In step S24,the system control unit 32 displays the authentication status on theimage display unit 28 and/or the indicator 66. Since the authenticationstatus is “encryption enabled”, a text as illustrated in FIG. 9 isdisplayed. The authentication process is then ended.

In step S25, the system control unit 32 sets a value indicating “devicefailure” to the authentication result variable. In step S26, the systemcontrol unit 32 displays the authentication status on the image displayunit 28 and/or the indicator 66. Since the authentication status is“device failure”, a text as illustrated in FIG. 10 is displayed. Theauthentication process is then ended.

FIG. 13 is a flowchart illustrating an operation of capturing andstoring an image that is an image capture instruction procedure of thedigital camera in the present exemplary embodiment. Generally, when auser instructs a digital camera to capture an image, an image outputfrom an image sensor 14 is stored in the memory 26. The stored image isthen compressed and recorded in the recording medium 36. In the presentexemplary embodiment, an authentication process is performed beforerecording a captured image in the recording medium 36. If theauthentication is successful, a data encryption process is furtherperformed. Such authentication, encryption and recording processes willbe described below.

In step S31, the system control unit 32 determines whether an imagecapture set-up is completed. To be more specific, the system controlunit 32 reads a value of the capture set-up variable and determineswhether the value indicates “capture set-up completed”. If the captureset-up is completed (YES in step S31), the process proceeds to step S32.On the other hand, if the capture set-up is not completed (NO in stepS31), the system control unit 32 waits until the capture set-up iscompleted. Since a value indicating “capture set-up completed” is set asthe capture set-up variable in step S2 of the activation processillustrated in FIG. 11, the determination process in step S31 does notgo into an infinite loop.

In step S32, the system control unit 32 performs an image capturingprocess by driving the shutter 12 and the image sensor 14. The A/Dconverter 16 converts an analog image signal output from the imagesensor 14 into a digital signal, and the image processing unit 18performs image processing such as gamma correction. The capture/displaycontrol unit 20 stores the image-processed digital image data in theimage display memory 22 and the memory 26. The image data stored in theimage display memory 22 is read out to the D/A converter 24 to bedisplayed. The image data stored in the memory 26 is compressed by thecompression/decompression unit 34.

In step S33, the system control unit 32 determines an authenticationresult by reading a value of the authentication result variable. If thevalue indicates “unauthenticated” (0 instep S33), the process proceedsto step S34. If the value indicates “encryption enabled” (1 in stepS33), the process proceeds to step S35. Further, if the value indicates“invalid”, “no key”, “not registered”, or “device failure” (2, 3, 4, or5 in step S33), the process proceeds to step S36. That is, in thepresent exemplary embodiment, an authentication process, storage of dataafter performing encryption, or storage of data without performingencryption is selected according to the authentication result, asillustrated in the above-described branching process. A capturingprocess (i.e., step S32) is executed according to an image captureinstruction even in a case where the authentication result is“unauthenticated”.

In step S34, a mutual authentication process described with reference toFIG. 12 is performed. After performing the authentication process, theauthentication result is again determined in step S33.

In step S35, the system control unit 32 encrypts the image data storedin the memory 26 using the encryption/decryption unit 38.

In step S36, the system control unit 32 stores in the recording medium36 the compressed image data that is stored in the memory 26 and that isencrypted or not encrypted. The image capturing process is thus ended.

Second Exemplary Embodiment

In a second exemplary embodiment of the present invention, a user canset a “priority mode” and an “encryption mode” to a digital camera, sothat the timing of performing an authentication process can be set moreprecisely. The same reference numerals are assigned to components in thesecond exemplary embodiment that are similar to the components in thefirst exemplary embodiment, and description is not repeated.

FIGS. 14A and 14B illustrate screens for setting a priority mode to adigital camera. The setting screens are displayed on the display unit28. FIG. 14A illustrates a state in which a user selects “capturepriority”, and FIG. 14B illustrates a state where a user selects“encryption priority”. In setting a priority mode, the user operates anoperation button or an operation dial to move a pointer indicated by anarrow so that either “capture priority” or “encryption priority” isselected. A value indicating the priority mode that is set by a user isstored in the nonvolatile memory 50.

If a user selects the capture priority mode, the digital camera operatessimilarly as described with references to FIG. 1 to FIG. 13. That is, animage capturing process can be performed before an authenticationprocess is performed in an activation process. As a result, an operationcontrol can be realized in which a user will not lose a photoopportunity directly after activating the digital camera.

If a user selects the encryption priority mode, the digital camera doesnot perform an image capturing process in a case where theauthentication process has not ended. As a result, an operation controlwhich focuses on a higher security function can be realized.

FIGS. 15A, 15B, and 15C illustrate screens that are displayed on theimage display unit 28 for setting an encryption mode. FIG. 15Aillustrates a screen for setting “no encryption”, FIG. 15B “encrypt inall cases”, and FIG. 15C “encrypt when IC card is loaded”. In setting anencryption mode, a user operates an operation button or an operationdial to move a pointer indicated by an arrow so that one of “noencryption”, “encrypt in all cases”, and “encrypt when IC card isloaded” is selected. A value indicating an encryption mode that is setby a user is stored in the nonvolatile memory 50.

If a user sets “encrypt when IC card is loaded” as the encryption mode,an operation control can be realized in which a captured image isencrypted and recorded, or unencrypted and recorded based on the statusof the IC card and whether an IC card is loaded.

If a user sets “no encryption” as the encryption mode, the capturedimage is recorded without being encrypted. That is, the operationcontrol similar to a digital camera that does not include an encryptionfunction, is performed.

If a user sets “encrypt in all cases” as the encryption mode, thecaptured image is always encrypted and stored. If a captured imagecannot be encrypted, the image data is not stored. Consequently, anoperation control which focuses on a security function can be realized.If a user does not want to store an image data that is not encrypted,the user can set the encrypted mode to “encrypt in all cases”.

FIG. 16 is a flowchart illustrating an activation process of the digitalcamera showing an activation procedure in the present exemplaryembodiment. An activation process is performed when a digital camera isswitched on, and includes various initialization processes that arerequired when the digital camera transits to a state in which thedigital camera can capture an image.

In step S41, the system control unit 32 executes a general activationprocess of a digital camera. For example, the system control unit 32supplies power to the units illustrated in FIG. 1. The system controlunit 32 activates software stored in a nonvolatile memory 50, and thesoftware initializes various variables. Such a process is generallyperformed by an electronic device, e.g., the activation processperformed by a general digital camera.

In step S42, the system control unit 32 sets a value indicating“completed” to a capture set-up variable which represents the status ofthe capture set-up. The capture set-up variable is initialized as aninvalid value in step S1.

In step S43, the system control unit 32 sets a value indicating“unauthenticated” to an authentication result variable that representsan authentication result.

In step S44, the system control unit 32 determines the encryption modeby reading the value of the variable indicating the encryption mode. Ifa value indicating “no encryption” is set (0 in step S44), theactivation process is ended. On the other hand, if a value indicating“encrypt in all cases” or “encrypt when IC card is loaded” is set (1 or2 in step S44), the process proceeds to step S45.

In step S45, the system control unit 32 detects a value of a variableindicating whether a capture is instructed (i.e., a capture instructionvariable). The capture instruction variable is initialized in step S41with a value indicating “no capture instruction”. If the value of thecapture instruction variable indicates “capture instructed” (YES in stepS45), the activation process is ended. On the other hand, if the valueof the capture instruction variable indicates “no capture instruction”(NO in step S45), the process proceeds to step S46 to perform anauthentication process.

When the process of step S42 ends, the digital camera of the presentexemplary embodiment is able to capture an image, and a capturingprocess (illustrated in the flowchart of FIG. 17) is in an executablestate as a different task or a process. Therefore, the value of thecapture instruction variable can indicate “capture instructed” beforeperforming the process of step S46.

In the authentication process performed in step S46, the digital cameraof the present exemplary embodiment communicates with the IC card 40 andmutually authenticates whether the digital camera and the IC card 40 canboth be used. The mutual authentication process is similar to theprocess described with reference to the flowchart illustrated in FIG.12.

FIG. 17 is a flowchart illustrating an operation of capturing andstoring an image in a capture instruction procedure of the digitalcamera in the second exemplary embodiment. Generally, when a userinstructs a digital camera to capture an image, an image output from animage sensor 14 is stored in the memory 26. The stored image is thencompressed and recorded in the recording medium 36. The setting of anencryption mode, i.e., the encryption process and the authenticationprocess prior to the encryption process will be described below.

In step S51, the system control unit 32 determines whether a captureset-up is completed. To be more specific, the system control unit 32reads a value of the capture set-up variable and determines whether thevalue indicates “capture set-up completed”. If the capture set-up iscompleted (YES in step S31), the process proceeds to step S52. On theother hand, if the capture set-up is not completed (NO in step S51), thesystem control unit 32 waits until the capture set-up is completed.Since a value indicating “capture set-up completed” is set to thecapture set-up value in step S42 of the activation process illustratedin FIG. 16, the determination process in step S51 does not go into aninfinite loop.

In step S52, the system control unit 32 determines the encryption mode.The system control unit 32 reads a value of a variable indicating theencryption mode (i.e., an encryption mode variable), and if the valueindicates “no encryption”(0 in step S52), the process proceeds to stepS53. On the other hand, if the value indicates “encrypt in all cases” or“encrypt when IC card is loaded” (1 or 2 in step S52), the processproceeds to step S54.

In step S53, the system control unit 32 performs a capturing process bydriving the shutter 12 and the image sensor 14. The A/D converter 16converts an analog image signal output from the image sensor 14 into adigital signal, and the image processing unit 18 performs imageprocessing such as gamma correction. The capture/display control unit 20stores the image-processed digital image data into the image displaymemory 22 and the memory 26. The image data stored in the image displaymemory 22 is readout to the D/A converter 24 for display. The image datastored in the memory 26 is compressed by the compression/decompressionunit 34.

When the capturing process ends in step S53, in step S64, the systemcontrol unit 32 stores the compressed image data in the recording medium36. That is, the system control unit 32 stores the compressed image datastored in the memory 26 in the recording medium 36. The capturingoperation thus ends.

In step S54, the system control unit 32 determines a capturing mode byreading a value of the variable indicating a capturing mode (i.e., acapturing mode variable). If the value indicates “capturing priority” (0in step S54), the process proceeds to step S55. On the other hand, ifthe value indicates “encryption priority” (1 in step S54), the processproceeds to step S56. That is, if the value indicates “capturingpriority”, the capturing process is performed first, and if the valueindicates “encryption priority”, the authentication process is performedfirst.

In step S55, the capturing process similar to the process described instep S53 is performed.

In step S56, the system control unit 32 determines an authenticationresult by reading a value of an authentication result variable. If thevalue indicates “unauthenticated” (0 in step S56), the process proceedsto step S57. If the value indicates “encryption enabled” (1 in stepS56), the process proceeds to step S58. If the value indicates“invalid”, “no key”, “unregistered”, or “device failure” (2, 3, 4, or 5in step S56), the process proceeds to step S61. That is, in the presentexemplary embodiment, an authentication process, encrypting and storingof data, or storing data without encryption is selected according to theauthentication result, as illustrated in the above-described branchingprocess. If the capture mode is set as “capture priority”, the capturingprocess (step S55) is performed even in a case where the authenticationis not performed.

In step S57, the system control unit 32 performs an authenticationprocess similar to the process described in step S34. The process thenproceeds to step S56 where the system control unit 32 again determinesthe authentication result.

In step S58, the system control unit 32 determines whether a capturingprocess in step S55 is already performed. If the capturing process isalready performed, the digital image data is already stored in thememory 26 as described above. Therefore, it can be determined whetherthe capturing process is performed, according to the status of thememory 26. If a capturing process is performed (YES in step S58), theprocess proceeds to step S60. On the other hand, if a capturing processis not yet performed (NO in step S58), the process proceeds to step S59.

In step S59, the system control unit 32 performs a capturing processsimilar to the process described instep S53.

In step S60, the system control unit 32 encrypts captured image data. Tobe more specific, the system control unit 32 uses theencryption/decryption unit 38 to encrypt the image data stored in thememory 26.

In step S61, the system control unit 32 determines the encryption modeby reading the value of the encryption mode variable. If the value isset as “encrypt in all cases” (1 in step S61), the process of theflowchart illustrated in FIG. 17 ends. There are cases where the processends without performing the capturing process and where a capturingprocess is performed and a storage process is not performed. In eithercase, an unencrypted image is not stored in the recording medium 36.

If the encryption mode variable indicates “encrypt when IC card isloaded” (2 in step S61), the process proceeds to step S62.

Moreover, in step S61, the value which is set to the encryption modevariable will not indicate “no encryption”. That is, if the encryptionmode variable is evaluated first in step S52 as “not encrypted”, theprocess proceeds to step S53.

In step S62, the system control unit 32 determines whether the capturingprocess is already performed. If the capturing process is alreadyperformed, the digital image data is already stored in the memory 26.Therefore, whether the capturing process is already performed can bedetermined based on the status of the memory 26. If the capturingprocess is already performed (YES in step S62), the process proceeds tostep S64. If the capturing process is not yet performed (NO in stepS62), the process proceeds to step S63.

In step S63, the capturing process similar to the process performed instep S53 is performed.

In step S64, the system control unit 32 stores in the recording medium36 a compressed image data that is encrypted or unencrypted, and storedin the memory 26. The capturing process then ends.

Third Exemplary Embodiment

In a third exemplary embodiment of the present invention, the IC cardcan be detached from the digital camera while the digital camera isactivated. That is, an authentication process is performed according tothe loading and unloading of the IC card while the digital camera isactivated. In the third exemplary embodiment, components similar tothose in the first and second exemplary embodiments are assigned thesame reference numerals, and description is not repeated.

FIG. 18 is a flowchart illustrating a process when a device is loadedinto a digital camera.

In step S71, the system control unit 32 set a value indicating “nocapture instruction” to a capture instruction value.

In step S72, the system control unit determines whether the loadeddevice is an IC card. If the loaded device is not an IC card (NO in stepS72), the process performed when a device is loaded ends. On the otherhand, if the loaded device is an IC card (YES in step S72), the processproceeds to step S73.

In step S73, the system control unit 32 sets a value indicating “notauthenticated” to an authentication result variable.

In step S74, the system control unit 32 determines the encryption modeby reading the value of the encryption mode variable. If the value isset as “no encryption” (0 in step S74), the process performed when adevice is loaded ends. On the other hand, if the encryption mode is setas “encrypt in all cases” or “encrypt when IC card is loaded”, theprocess proceeds to step S75.

In step S75, the system control unit 32 determines whether there is acapture instruction. If the value of the capture instruction variableindicates “capture instructed” (YES in step S75), the device loadingprocess ends. If the value of the capture instruction variable indicates“no capture instruction” (NO in step S75), the process proceeds to stepS76. The capture instruction variable is initialized at a valueindicating “no capture instruction” in step S71. However, there is acase where the value can be set as “capture instructed” by interruption.That is, the process illustrated in FIG. 13 can be performed as othertask or process, and consequently, the value of the capture instructionvariable is set as “capture instructed” before performing step S75.

In step S76, the system control unit 32 communicates with each other andauthenticates whether the digital camera and the IC card can both beused. The authentication process is similar to the process describedwith reference to FIG. 12.

FIG. 19 is a flowchart illustrating a process that is performed whenunloading a device from the digital camera.

In step S81, the system control unit 32 determines whether the unloadeddevice is an IC card. If the unloaded device is not an IC card (NO instep S81), the device unloading process ends. On the other hand, if theunloaded device is an IC card (YES in step S81), the process proceeds tostep S82.

In step S82, the system control unit 32 sets a value indicating“invalid” to the authentication result variable.

In step S83, the system control unit 32 displays a status of theauthentication on the indicator 66. Since the flowchart illustrated inFIG. 19 indicates “invalid” as the status of the authentication, theindicator displays a text as illustrated in FIG. 6.

As described above, according to the third exemplary embodiment, adigital image data or an encrypted digital image data is stored in therecording medium 36. However, the process of storing data into therecording medium 36 can be replaced with a transmission process in whicha digital image data or an encrypted digital image data is transmittedto an external device such as a PC via a communication apparatus.

In the first, second, and third exemplary embodiments, a digital camerais described as an example of an image capture apparatus according tothe present invention. However, an image capture apparatus according tothe present invention is not limited to a digital camera, and can beapplied to a digital video camera, camera-equipped portable terminal, ora camera-equipped phone.

Moreover, the various process procedures described in the first, second,and third exemplary embodiments can be realized by a computer such as amicrocomputer or a personal computer according to a computer program. Insuch a case, the computer program which realizes all or part of theprocedures described in the first and second exemplary embodiments aresupplied to the computer via a network or a recording medium.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all modifications, equivalent structures, and functions.

1. An image capture apparatus comprising: an image capture unitconfigured to capture an image; an authentication unit configured toperform an authentication process with an external device; an encryptionunit that configured to encrypt a captured image to generate anencrypted image if the authentication unit succeeds in performing theauthentication process; a storage unit configured to store the encryptedimage in a recording medium; and a display unit configured to displaywhether the authentication unit succeeded in performing theauthentication process and whether the external device includes keyinformation used in encrypting a captured image.